Skip to content

Conversation

@mulugetam
Copy link
Contributor

Refactor logging and statistics source files based on ISO C++ Core Guidelines. More specifically:

  • Avoids C variable args, use variadic templates instead.
  • Avoids raw pointers.
  • Avoids C arrays.
  • Uses scoped enums.

@mulugetam mulugetam force-pushed the refactor_logging_src branch from 7fe4e75 to 74d7f48 Compare October 23, 2025 20:10
@asonje
Copy link
Contributor

asonje commented Nov 3, 2025

Hi, you would need to also modify all the logging instances to switch to the new style. the logs are currently mangled.

@asonje
Copy link
Contributor

asonje commented Nov 3, 2025

Also what happens if multiple threads are concurrently accessing the logfile? we may need synchronization

@mulugetam mulugetam force-pushed the refactor_logging_src branch 2 times, most recently from aeaf218 to a17d82c Compare November 8, 2025 09:05
…e specifically:

  - Avoid C variable args, use variadic templates instead.
  - Avoid raw pointers.
  - Avoid C arrays.
  - Use scoped enums

Signed-off-by: Mulugeta Mammo <[email protected]>
@mulugetam
Copy link
Contributor Author

Closing this in favor of #45

@mulugetam mulugetam closed this Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants